home *** CD-ROM | disk | FTP | other *** search
/ cyber.net interactivo 3 / inter@ivo 1996-04.iso / cybint3 / bin / ano95.dxr / 00019.ls < prev    next >
Encoding:
Text File  |  1996-03-21  |  3.6 KB  |  139 lines

  1. on exitFrame
  2.   if the mouseCast = 48 then
  3.     go("naveg")
  4.   end if
  5.   if (the mouseCast = 14) and (the visible of sprite 3 = 0) then
  6.     set the visible of sprite 3 to 1
  7.   else
  8.     if (the mouseCast <> 14) and (the visible of sprite 3 = 1) then
  9.       set the visible of sprite 3 to 0
  10.     end if
  11.   end if
  12.   if (the mouseCast = 15) and (the visible of sprite 5 = 0) then
  13.     set the visible of sprite 5 to 1
  14.   else
  15.     if (the mouseCast <> 15) and (the visible of sprite 5 = 1) then
  16.       set the visible of sprite 5 to 0
  17.     end if
  18.   end if
  19.   if (the mouseCast = 16) and (the visible of sprite 7 = 0) then
  20.     set the visible of sprite 7 to 1
  21.   else
  22.     if (the mouseCast <> 16) and (the visible of sprite 7 = 1) then
  23.       set the visible of sprite 7 to 0
  24.     end if
  25.   end if
  26.   if (the mouseCast = 17) and (the visible of sprite 9 = 0) then
  27.     set the visible of sprite 9 to 1
  28.   else
  29.     if (the mouseCast <> 17) and (the visible of sprite 9 = 1) then
  30.       set the visible of sprite 9 to 0
  31.     end if
  32.   end if
  33.   if (the mouseCast = 18) and (the visible of sprite 11 = 0) then
  34.     set the visible of sprite 11 to 1
  35.   else
  36.     if (the mouseCast <> 18) and (the visible of sprite 11 = 1) then
  37.       set the visible of sprite 11 to 0
  38.     end if
  39.   end if
  40.   if (the mouseCast = 26) or (the mouseCast = 27) then
  41.     if the visible of sprite 23 = 0 then
  42.       set the visible of sprite 23 to 1
  43.     end if
  44.   else
  45.     set the visible of sprite 23 to 0
  46.   end if
  47.   if (the mouseCast = 37) or (the mouseCast = 38) then
  48.     if the visible of sprite 28 = 0 then
  49.       set the visible of sprite 28 to 1
  50.       set the visible of sprite 29 to 1
  51.     end if
  52.   else
  53.     set the visible of sprite 28 to 0
  54.     set the visible of sprite 29 to 0
  55.   end if
  56.   go(the frame)
  57. end
  58.  
  59. on mouseDown
  60.   if the mouseCast = 14 then
  61.     set the visible of sprite 2 to 1
  62.   end if
  63.   if the mouseCast = 15 then
  64.     set the visible of sprite 4 to 1
  65.   end if
  66.   if the mouseCast = 16 then
  67.     set the visible of sprite 6 to 1
  68.   end if
  69.   if the mouseCast = 17 then
  70.     set the visible of sprite 8 to 1
  71.   end if
  72.   if the mouseCast = 18 then
  73.     set the visible of sprite 10 to 1
  74.   end if
  75.   set i to 20
  76.   set z to 12
  77.   repeat while i < 25
  78.     if the mouseCast = i then
  79.       set the visible of sprite z to 0
  80.     end if
  81.     set i to i + 1
  82.     set z to z + 1
  83.   end repeat
  84. end
  85.  
  86. on mouseUp
  87.   if the visible of sprite 2 = 1 then
  88.     set i to 12
  89.     repeat while i < 17
  90.       set the visible of sprite i to 0
  91.       set i to i + 1
  92.     end repeat
  93.     set the visible of sprite 2 to 0
  94.     set the visible of sprite 12 to 1
  95.   end if
  96.   if the visible of sprite 4 = 1 then
  97.     set i to 12
  98.     repeat while i < 17
  99.       set the visible of sprite i to 0
  100.       set i to i + 1
  101.     end repeat
  102.     set the visible of sprite 4 to 0
  103.   end if
  104.   if the visible of sprite 6 = 1 then
  105.     set i to 12
  106.     repeat while i < 17
  107.       set the visible of sprite i to 0
  108.       set i to i + 1
  109.     end repeat
  110.     set the visible of sprite 6 to 0
  111.     set the visible of sprite 14 to 1
  112.   end if
  113.   if the visible of sprite 8 = 1 then
  114.     set i to 12
  115.     repeat while i < 17
  116.       set the visible of sprite i to 0
  117.       set i to i + 1
  118.     end repeat
  119.     set the visible of sprite 8 to 0
  120.     set the visible of sprite 15 to 1
  121.   end if
  122.   if the visible of sprite 10 = 1 then
  123.     set i to 12
  124.     repeat while i < 17
  125.       set the visible of sprite i to 0
  126.       set i to i + 1
  127.     end repeat
  128.     set the visible of sprite 10 to 0
  129.     set the visible of sprite 16 to 1
  130.   end if
  131.   if (the mouseCast = 26) or (the mouseCast = 27) then
  132.     if the visible of sprite 23 = 0 then
  133.       set the visible of sprite 23 to 1
  134.     end if
  135.   else
  136.     set the visible of sprite 23 to 0
  137.   end if
  138. end
  139.